package cn.ecnu.pojo.recommend;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@TableName(value = "recommend_company")
public class RecommendCompany {

    @TableId(value = "user_id")
    @NotNull(message = "userId不能为空")
    private Integer userId;

    @NotEmpty(message = "内推公司不能为空")
    private String recCompany;

    @NotEmpty(message = "公司简介不能为空")
    private String companyIntro;

//    @NotEmpty(message = "公司官网不能为空")
    private String companyWeb;
}
